package com.ch01;

public class ThreadDemo {
	public static void main(String[] args) {
		/*
		new Thread(new Runnable() {
			public void run() {
				System.out.println("ok");
			}
		}).start();
		*/
		//lambda
		new Thread(()->System.out.println("ok")).start();
	}
}
